<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>

<%@page import="java.util.Set"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>汇丰晋信天才儿童的添财计划—天才基因早发现</title>
<link href="css/main.css" media="screen" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #eb1a11}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<% 
	Set<String> resultSet = (Set<String>)session.getAttribute("resultSet");
	if(!"Y".equals(session.getAttribute("userAdd")) || resultSet==null){
		response.sendRedirect("index.jsp");
		return;	
	}
	for(int i = 10; i <= 20; i++){
		resultSet.remove(String.valueOf(i));
	}
	String[] results = request.getParameterValues("test");
	if(results!=null && results.length > 0){
		for(String result : results){
			resultSet.add(result);
		}
	}
	System.out.println("resultSet3="+resultSet);
	//add judge logic
	StringBuffer finalResult = new StringBuffer();
	if(resultSet.contains("1")&&resultSet.contains("2")&&resultSet.contains("3"))
		finalResult.append("语言才能、");
	if(resultSet.contains("4")&&resultSet.contains("5"))
		finalResult.append("逻辑数理才能、");
	if(resultSet.contains("6")&&resultSet.contains("7")&&resultSet.contains("8"))
		finalResult.append("音乐才能、");
	if(resultSet.contains("9")&&resultSet.contains("10")&&resultSet.contains("11"))
		finalResult.append("丰富的空间想像能力、");
	if(resultSet.contains("12")&&resultSet.contains("13"))
		finalResult.append("较高的身体运动能力、");
	if(resultSet.contains("14")&&resultSet.contains("15")&&resultSet.contains("16"))
		finalResult.append("较好的人际关系处理能力、");
	if(resultSet.contains("17")&&resultSet.contains("18"))
		finalResult.append("良好的自我认知能力、");
	if(resultSet.contains("19")&&resultSet.contains("20"))
		finalResult.append("较强的自然观察能力、");
	
	session.removeAttribute("resultSet");
%>
<body>
<div class="head">
  <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','950','height','222','src','images/top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','images/top' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="950" height="222">
    <param name="movie" value="images/top.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="images/top.swf" width="950" height="222" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>
</noscript></div>
<div class="top">
  <div class="nav">
    <div class="nav01"><a href="<%="Y".equals(session.getAttribute("userAdd"))?"zjcy-1.jsp":"zjcy.jsp"%>" class="demo">直接参与</a></div>
    <div class="nav02"><a href="jxsz.jsp" class="demo">奖项设置</a></div>
    <div class="nav02"><a href="cyff.jsp" class="demo">参与方法</a></div>
    <div class="nav02"><a href="lhjy.jsp" class="demo">联合基因</a></div>
    <div style="clear:both;"></div>
  </div>
  <div class="top_left01"><span class="STYLE1">测试结果：</span><br />
  通过您的孩子在日常生活中的表现，<%=finalResult.length() > 0 ? ("可基本判断其具备：<br/>" + finalResult.substring(0, finalResult.length() - 1)) : "还不能完全判断其具备上述8大才能。"%>
  </div>
  <div class="top_right01">
    感谢您的配合，因展示篇幅有限，我们将本次测试设置为大众普及型测试，如您孩子的表现不在上述测试范围之内，亦属正常现象，欲详细了解您孩子的天赋潜能，请进入联合基因少儿潜能测评中心官网<a href="http://www.ugcpac.com" target="_blank">www.ugcpac.com</a>或垂询热线：400 820 9959/800 820  9959  
    <div class="box01"><a href="zjcy-4-1.jsp"><img src="images/icon01.png" width="98" height="33" border="0"/></a></div>
  </div>
</div>
</body>
</html>
